﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel;
using System.Text;


namespace Server_NhaSach.WCF_Interface
{
    // NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IServiec_QLNhaSach" in both code and config file together.
    [ServiceContract]
    public interface IHoaDonBanSi
    {
        [OperationContract]
        bool InsertHDBS(string MaHDBS, string MaKho, string MaKH, string MaNV, string NguoiMua, DateTime NgayBanSi, string ChungTuBanSi, string GhiChuBS, string DiaChiGiao, float VAT, double TongThanhTien, double SoTienDaTra, double SoTienConLai, DateTime NgayHenThanhToan);
        [OperationContract]
        bool UpdateHDBS(string MaHDBS, string MaKho, string MaKH, string MaNV, string NguoiMua, DateTime NgayBanSi, string ChungTuBanSi, string GhiChuBS, string DiaChiGiao, float VAT, double TongThanhTien, double SoTienDaTra, double SoTienConLai, DateTime NgayHenThanhToan);
        [OperationContract]
        bool DeleteHDBS(string MaHDBS);
        [OperationContract]
        string LayDS_HoaDonBanSi();
    }
}
